Skip to content

Conversation

@theletterf
Copy link
Contributor

@theletterf theletterf commented Jul 23, 2025

Fixes #1605

Also adds tests for mutation operators.

@theletterf theletterf requested a review from a team as a code owner July 23, 2025 11:16
@theletterf theletterf self-assigned this Jul 23, 2025
@theletterf theletterf added the fix label Jul 23, 2025
@theletterf theletterf requested a review from a team as a code owner July 23, 2025 11:32
@github-actions
Copy link

github-actions bot commented Jul 23, 2025

🔍 Preview links for changed docs

Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for tackling this!

Should SubstitutionRenderer.Write reuse SubstitutionMutationHelper ?

Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more change to ensure we don't needlessly roundtrip already parsed enums

@theletterf theletterf requested a review from Mpdreamz July 23, 2025 13:02
@theletterf theletterf changed the title Add tests and fix subs Fix mutation operators not working in links and code blocks Jul 23, 2025
@theletterf
Copy link
Contributor Author

@Mpdreamz Seems like links get subs even when they're inside a subs=false code block (the example in the docs). Checking.

@theletterf
Copy link
Contributor Author

OK, I think it's ready now :)

@theletterf theletterf merged commit 6c41484 into main Jul 23, 2025
17 checks passed
@theletterf theletterf deleted the theletterf-fix-versions-inline branch July 23, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mutation operators do not work with version variables in code blocks and links

3 participants